Skip to content

hallard/RFM12B_arssi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enhanced RFM12B with ARSSI Library

By Charles-Henri Hallard
Enhanced RFM12B with Analog RSSI reading RF module library for Arduino

##License Same as the original libraries

You are free to share and adapt. But you need to give attribution and use the same license to redistribute.

For any explanation see RFM12 module see http://www.hoperf.com/rf/fsk_module/RFM12B.htm

Code based on following datasheet http://www.hoperf.com/upload/rf/RFM12B.pdf

##Features List of features implemented in this library:

  • Module detection (can check if module is present on board or not)
  • Accurate Analog RSSI measurement (need hardware hack by soldering one wire)
  • Dynamic use of Hardware IRQ (D2/INT0 or D3/INT1) for Atmega328
  • Dynamic use of Hardware IRQ (D10/INT0, D11/INT1 or D2/INT2) for Atmega1284
  • Dynamic use of custom pin for Chip Select
  • AtMega 1284p External Interrupt compatibility (use Felix's Mega Core pin mapping for this)
  • Added time-out to initialize function to avoid lockup

This is an initial release, it could contain bugs, but works fine for now. Please let me know if you find issues.

###Installation Copy the content of this library in the "Arduino/libraries/RFM12B_arssi" folder.
To find your Arduino folder go to File>Preferences in the Arduino IDE.
See this tutorial on Arduino libraries.

###Possible issues

  • Analog RSSI signal differs from modules (location and values)

###Sample usage

##Blog dedicated post See this post for information

##Why

  • I have long used Felix's RFM12B library, but I needed more features.

##Reference Thanks to all contributors starting Jean-Claude Wippler from jeelabs for writing original Library.

##Misc See news and other projects on my blog

Releases

No releases published

Packages

No packages published

Languages

  • Other 59.5%
  • C++ 40.5%